package com.example.constant;

import java.io.File;

/**
 * @Author: 张比特
 * @Data: 2025/2/10 下午3:40
 * @Version: v1.0.0
 * @Description: TODO 所有的常量写在此处
 **/

public class PathConstant {

    /**
     * 当前系统所运行的根目录
      */
    public static final String ROOT_DIRECTORY = System.getProperty("user.dir");
    /**
     *  yolov7启动脚本路径
     */
    public static final String YOLOV7_PATH = ROOT_DIRECTORY + File.separator + "yolov7" + File.separator + "detect.py";
    /**
     * 脚本测试路径
     */
    public static final String GET_PATH = ROOT_DIRECTORY + File.separator + "yolov7" + File.separator + "getPath.py";
    /**
     * 权重路径
     */
    public static final String YOLOV7_WEIGHTS = ROOT_DIRECTORY + File.separator + "yolov7" + File.separator + "weights" + File.separator + "yolov7.pt";
    /**
     * YOLOv7输出路径，匹配算法的target路径
     */
    public static final String YOLOv7_SOURCE = ROOT_DIRECTORY + File.separator + "service" + File.separator + "target";
    /**
     * feature_extraction脚本
     */
    public static final String FEATURE_EXTRACTION_PATH = ROOT_DIRECTORY + File.separator + "service" + File.separator + "feature_extraction.py";
    /**
     * 匹配算法的source路径，文件夹
     */
    public static final String FEATURE_EXTRACTION_TARGET = ROOT_DIRECTORY + File.separator + "service" + File.separator + "source";
}
